Replication Package for:
Born into Betrayal: Memory, Mistrust, and the Politics of Scientific Authority
Laura Younkin

-------------------------------------------------------
1. OVERVIEW
-------------------------------------------------------
This package provides all data and code necessary to reproduce the analyses, figures, and tables reported in the paper. Specifically, it includes:
- Cleaned dataset: gss_clean.csv
- Full R script: replication_script.R
- Session information: sessionInfo.txt

-------------------------------------------------------
2. FILE DESCRIPTIONS
-------------------------------------------------------
gss_clean.csv        : A cleaned version of the GSS data containing only the variables used in analysis (including birthyear, cohort, birthgroup, birth_decade, confed, consci, polviews, educ, age, sex, income).
replication_script.R : R code that replicates data preparation, variable construction, all regression and mediation models (cohort, birthgroup, decade), and all figures and tables used in the paper.
sessionInfo.txt      : Output of R’s sessionInfo() at time of analysis, including package versions and system details.

-------------------------------------------------------
3. SOFTWARE & SYSTEM REQUIREMENTS
-------------------------------------------------------
- R version ≥ 4.3.x
- Packages: mediation, ggplot2, dplyr, tidyr (and their dependencies)
- Works on Windows, macOS, or Linux
- Bootstrap simulations may require moderate RAM and CPU time

-------------------------------------------------------
4. REPLICATION INSTRUCTIONS
-------------------------------------------------------
1. Set working directory to the folder containing all files.
2. Open replication_script.R and run it from start to finish.
3. It will load gss_clean.csv and execute all analyses.
4. It will generate and save tables and figures matching those in the paper.
5. Use sessionInfo.txt to verify software environment if needed.

-------------------------------------------------------
5. DATA AVAILABILITY & CITATION
-------------------------------------------------------
The General Social Survey (GSS) data used in this paper are available at https://gss.norc.org/.
The cleaned dataset (gss_clean.csv) is included here for transparency.
Please cite this package as:
Younkin, L. (2025). Replication package for 'Born into Betrayal.' Harvard Dataverse. https://doi.org/...

-------------------------------------------------------
6. LICENSE & USE
-------------------------------------------------------
This package is distributed under a CC-BY-NC license (Creative Commons Attribution-NonCommercial).
Commercial use is not permitted without consent.

-------------------------------------------------------
7. CONTACT INFORMATION
-------------------------------------------------------
Laura Younkin
Department of Political Science, [Your Institution]
Email: [your.email@institution.edu]

-------------------------------------------------------
8. VERSION NOTES
-------------------------------------------------------
Version: 1.0
Date: 2025-11-07
